package {
import flash.display.Sprite;

import org.flexunit.rules.IMethodRule;
import org.mockito.integrations.flexunit4.MockitoRule;
import org.mockito.integrations.mock;
import org.mockito.integrations.verify;

[Mock(type="flash.display.Sprite")]
public class MockitoTest {

	[Rule]
	public var mockito : IMethodRule = new MockitoRule();

	public function MockitoTest() {

	}

	[Test]
	public function testOne() : void {
		var sprite : Sprite = mock(Sprite);
		sprite.stopDrag();
		verify().that(sprite.stopDrag());
	}
}
}
